package com.attilax.util;

import java.io.File;

import org.apache.commons.io.FileUtils;

import com.attilax.core.ForeachFunction;
import com.attilax.io.DirTraveService;
import com.attilax.io.DirTraveServiceTest;

public class jarCollctor {

	public static void main(String[] args) {


		new DirTraveService().traveV5_vS522(new File("c:\\"), new ForeachFunction() {

			@Override
			public void each(int count, File f) throws Exception {
			 
			    
			   if(count%1000==0)
				
				logger.info( "cn:"+count+f);
			   FileUtils.write(f, "");
				String rltpath = f.getAbsolutePath().substring(dir.length() + 1);
			   li.add(rltpath);

			}

		});

	}

}
